<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Simple Calculator: IVS.MathLibrary.Arithmetic Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Simple Calculator
   &#160;<span id="projectnumber">1.0</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_i_v_s_1_1_math_library_1_1_arithmetic.html','');
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">IVS.MathLibrary.Arithmetic Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class provides basic mathematic functions.  
 <a href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#details">More...</a></p>

<p><a href="class_i_v_s_1_1_math_library_1_1_arithmetic-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7458a6c2c801dde3d65d9a5b9933be0e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a7458a6c2c801dde3d65d9a5b9933be0e">Arithmetic</a> ()</td></tr>
<tr class="memdesc:a7458a6c2c801dde3d65d9a5b9933be0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates new instance of <a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html" title="Class provides basic mathematic functions.">Arithmetic</a> class.  <a href="#a7458a6c2c801dde3d65d9a5b9933be0e"></a><br/></td></tr>
<tr class="memitem:a7515d9d3b960b2c75722d31397a72bef"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a7515d9d3b960b2c75722d31397a72bef">Addition</a> (double x, double y)</td></tr>
<tr class="memdesc:a7515d9d3b960b2c75722d31397a72bef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds two real numbers. Returns sum.  <a href="#a7515d9d3b960b2c75722d31397a72bef"></a><br/></td></tr>
<tr class="memitem:a0f78db37973bb85c7624f60313ab008a"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a0f78db37973bb85c7624f60313ab008a">Subtraction</a> (double x, double y)</td></tr>
<tr class="memdesc:a0f78db37973bb85c7624f60313ab008a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subtract two real numbers. Returns difference.  <a href="#a0f78db37973bb85c7624f60313ab008a"></a><br/></td></tr>
<tr class="memitem:a1f292750a1d0752c9ec832e972ec2136"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a1f292750a1d0752c9ec832e972ec2136">Multiplication</a> (double x, double y)</td></tr>
<tr class="memdesc:a1f292750a1d0752c9ec832e972ec2136"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiply two real numbers. Returns conjuction.  <a href="#a1f292750a1d0752c9ec832e972ec2136"></a><br/></td></tr>
<tr class="memitem:a0dff178103a7b1f9090a9c9e8d9f7b6c"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a0dff178103a7b1f9090a9c9e8d9f7b6c">Division</a> (double x, double y)</td></tr>
<tr class="memdesc:a0dff178103a7b1f9090a9c9e8d9f7b6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Divide two real numbers. Returns fraction.  <a href="#a0dff178103a7b1f9090a9c9e8d9f7b6c"></a><br/></td></tr>
<tr class="memitem:a4b459e7c76e8cfb33588fa65553143b5"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a4b459e7c76e8cfb33588fa65553143b5">Power</a> (double x, double y)</td></tr>
<tr class="memdesc:a4b459e7c76e8cfb33588fa65553143b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a specified number raised to the specified power.  <a href="#a4b459e7c76e8cfb33588fa65553143b5"></a><br/></td></tr>
<tr class="memitem:a69a40be5af04426b070a9e39ddd53118"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a69a40be5af04426b070a9e39ddd53118">SquareRoot</a> (double x)</td></tr>
<tr class="memdesc:a69a40be5af04426b070a9e39ddd53118"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the square root of a specified number.  <a href="#a69a40be5af04426b070a9e39ddd53118"></a><br/></td></tr>
<tr class="memitem:a5d5b2710c08f340efa489dd171e63393"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a5d5b2710c08f340efa489dd171e63393">Factorial</a> (double x)</td></tr>
<tr class="memdesc:a5d5b2710c08f340efa489dd171e63393"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns factorial of a specified number.  <a href="#a5d5b2710c08f340efa489dd171e63393"></a><br/></td></tr>
<tr class="memitem:a01435c66f9f488afa7cc48b5b2716296"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a01435c66f9f488afa7cc48b5b2716296">Inversion</a> (double x)</td></tr>
<tr class="memdesc:a01435c66f9f488afa7cc48b5b2716296"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns inverted value.  <a href="#a01435c66f9f488afa7cc48b5b2716296"></a><br/></td></tr>
<tr class="memitem:a8f79c15db4d75a87f4b961d9e31cb9bf"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a8f79c15db4d75a87f4b961d9e31cb9bf">Negation</a> (double x)</td></tr>
<tr class="memdesc:a8f79c15db4d75a87f4b961d9e31cb9bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns negated value.  <a href="#a8f79c15db4d75a87f4b961d9e31cb9bf"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Class provides basic mathematic functions. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a7458a6c2c801dde3d65d9a5b9933be0e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a7458a6c2c801dde3d65d9a5b9933be0e">IVS.MathLibrary.Arithmetic.Arithmetic</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates new instance of <a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html" title="Class provides basic mathematic functions.">Arithmetic</a> class. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7515d9d3b960b2c75722d31397a72bef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a7515d9d3b960b2c75722d31397a72bef">IVS.MathLibrary.Arithmetic.Addition</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds two real numbers. Returns sum. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>first number</td></tr>
    <tr><td class="paramname">y</td><td>second number</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a0dff178103a7b1f9090a9c9e8d9f7b6c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a0dff178103a7b1f9090a9c9e8d9f7b6c">IVS.MathLibrary.Arithmetic.Division</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Divide two real numbers. Returns fraction. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>first number</td></tr>
    <tr><td class="paramname">y</td><td>second number</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a5d5b2710c08f340efa489dd171e63393"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a5d5b2710c08f340efa489dd171e63393">IVS.MathLibrary.Arithmetic.Factorial</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns factorial of a specified number. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>a number</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a01435c66f9f488afa7cc48b5b2716296"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a01435c66f9f488afa7cc48b5b2716296">IVS.MathLibrary.Arithmetic.Inversion</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns inverted value. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>a number</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a1f292750a1d0752c9ec832e972ec2136"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a1f292750a1d0752c9ec832e972ec2136">IVS.MathLibrary.Arithmetic.Multiplication</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Multiply two real numbers. Returns conjuction. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>first number</td></tr>
    <tr><td class="paramname">y</td><td>second number</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a8f79c15db4d75a87f4b961d9e31cb9bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a8f79c15db4d75a87f4b961d9e31cb9bf">IVS.MathLibrary.Arithmetic.Negation</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns negated value. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>a number</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a4b459e7c76e8cfb33588fa65553143b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a4b459e7c76e8cfb33588fa65553143b5">IVS.MathLibrary.Arithmetic.Power</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns a specified number raised to the specified power. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>a double-precision floating-point number to be raised to a power.</td></tr>
    <tr><td class="paramname">y</td><td>a double-precision floating-point number that specifies a power.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a69a40be5af04426b070a9e39ddd53118"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a69a40be5af04426b070a9e39ddd53118">IVS.MathLibrary.Arithmetic.SquareRoot</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the square root of a specified number. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>a number</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd></dd></dl>

</div>
</div>
<a class="anchor" id="a0f78db37973bb85c7624f60313ab008a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html#a0f78db37973bb85c7624f60313ab008a">IVS.MathLibrary.Arithmetic.Subtraction</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Subtract two real numbers. Returns difference. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>first number</td></tr>
    <tr><td class="paramname">y</td><td>second number</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd></dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_arithmetic_8cs.html">Arithmetic.cs</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespace_i_v_s.html">IVS</a>      </li>
      <li class="navelem"><a class="el" href="namespace_i_v_s_1_1_math_library.html">MathLibrary</a>      </li>
      <li class="navelem"><a class="el" href="class_i_v_s_1_1_math_library_1_1_arithmetic.html">Arithmetic</a>      </li>

    <li class="footer">Generated on Sun Apr 15 2012 13:29:18 for Simple Calculator by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.0 </li>
   </ul>
 </div>


</body>
</html>
